<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 1.默认绑定规则  this -> window
        console.log(this)
        console.log(this == window)

        // 函数的独立调用 this -> window
        function foo1() {
            console.log(this)
        }
        foo1()


    </script>
</body>
</html>